package com.geek.javase.ch07.strings;

/*
 *@author wangpeng
 *2025/10/15 16:09
 *@description TODO
 */

//练习2：利用StringBuilder完成字符串反转

public class StringBuilderDemo4 {
    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder("wangpeng");
        System.out.println(sb.reverse());
    }
}
